//
//  SDetailViewController.h
//  Gradekeeper0.2
//
//  Created by Ben Wu on 11/18/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Courses.h"
#import "Semester.h"
#import "CourseWorkViewController.h"
#import "CourseDetailViewController.h"
#import "CourseCreationViewController.h"

@class CourseWorkViewController;
@class CourseCreationViewController;
@class Semester;


@interface SDetailViewController : UITableViewController {
	//IBOutlet UITableView *CourseTableView;
	Semester * semester;
	NSMutableArray *courseList;
	CourseWorkViewController *courseController;
	CourseCreationViewController *creationController;
	int currentRow;
	BOOL setInfo;
	
}

@property (nonatomic, retain) CourseWorkViewController *courseController;
@property (nonatomic, retain) CourseCreationViewController *creationController;
@property (nonatomic) int currentRow;
@property (nonatomic) BOOL setInfo;

- (IBAction) infoPressed:(id)sender;
- (IBAction) createPressed:(id)sender;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil semester:(Semester *)newSemester;
@end


/*
@interface ProfileTableViewController : UITableViewController {
	
	NSMutableArray *profileArray;
	ProfileDetailViewController *pDetailViewController;
	ProfileController *profileController;
	NSUInteger rowToDelete;
}

@property (nonatomic, retain) NSMutableArray *profileArray;
@property (nonatomic, retain) ProfileDetailViewController *pDetailViewController;
@property (retain, nonatomic) ProfileController *profileController;

- (void) setRow: (NSUInteger) inputRow;
- (NSUInteger) getRow;
- (IBAction) createPressed:(id)sender;
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex;


@end*/
